package com.situ.orderingsystem.dao;

import com.situ.orderingsystem.model.Employee;
import com.situ.orderingsystem.model.EmployeeSerchBean;
import com.situ.orderingsystem.model.Order;
import com.situ.orderingsystem.model.OrderSearchBean;
import com.situ.orderingsystem.utils.PaginateInfo;

import java.util.List;

public interface OrderDao {
    List<Order> findAll(OrderSearchBean es, PaginateInfo pi);
    List<Order> findAll();
    boolean deleteById(Integer id);
    int add(Order order);
    Order searchById(Integer id);
    int update(Order employee);
}
